<?php
    $this->breadcrumbs = array(
        t('Expenses') => array('index'),
        $model->id,
    );

    /* $this->menu=array(
      array('label'=>'List Expenses','url'=>array('index')),
      array('label'=>'Create Expenses','url'=>array('create')),
      array('label'=>'Update Expenses','url'=>array('update','id'=>$model->id)),
      array('label'=>'Delete Expenses','url'=>'#','linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
      array('label'=>'Manage Expenses','url'=>array('admin')),
      ); */
?>

<h1><?php echo t('View Expenses') . ' #' . $model->id; ?></h1>

<div class="well">
    <?php
        $this->widget('bootstrap.widgets.TbButton', array(
            //'buttonType' => 'ajaxLink',
            'type' => 'primary',
            'label' => t('Back'),
            'url' => Yii::app()->createUrl('expenses/index'),
            'icon' => 'icon-white icon-arrow-left',
        ));
    ?>
</div>

<?php
    $this->widget('bootstrap.widgets.TbDetailView', array(
        'data' => $model,
        'attributes' => array(
            'id',
            'item',
            'amount',
            'on_date',
            'user_id',
            'remark',
            'createtime',
            'updateby_user_id',
            'modifytime',
        ),
    ));
?>
